package com.rran.study.designpattern.behavioral.mediator.colleague;

import com.rran.study.designpattern.behavioral.mediator.mediator.Mediator;

/**
 * @author yy
 * @Type UpHoursePrice.java
 * @Desc
 * @date 2020/7/23 16:31
 */
public interface Hourse {

    void setMediator(Mediator mediator);

    /**
     * 房子要求涨价
     */
    void upHoursePrice(Long price);

    /**
     * 跟着涨价
     */
    void followUpPrice(Long price);
}
